Investigating the effect of "defect co-fix" on quality assurance resource allocation: A search-based approach

نویسندگان

  • Hadi Hemmati
  • Meiyappan Nagappan
  • Ahmed E. Hassan
چکیده

Allocation of resources to pre-release Quality Assurance (QA) tasks, such as source code analysis, peer review, and testing, is one of the challenges faced by a software project manager. The goal is to find as many defects as possible with the available QA resources prior to the release. This can be achieved by assigning more resources to the more defect-prone artifacts, e.g., components, classes, and methods. The state-of-the-art QA resource allocation approaches predict the defect-proneness of an artifact using the historical data of different software metrics, e.g., the number of previous defects and the changes in the artifact. Given a QA budget, an allocation technique selects the most defect-prone artifacts, for further investigation by the QA team. While there has been many research efforts on discovering more predictive software metrics and more effective defect prediction algorithms, the cost-effectiveness of the QA resource allocation approaches has always been evaluated by counting the number of defects per selected artifact. The problem with such an evaluation approach is that it ignores the fact that, in practice, fixing a software issue is not bounded to an artifact under investigation. In other words, one may start reviewing a file that is identified as defect-prone and detect a defect, but to fix the defect one may modify not only the defective part of the file under review, but also several other artifacts that are somehow related to the defective code (e.g., a method that calls the defective code). Such co-fixes (fixing several defects together) during analyzing/reviewing/testing of an artifact under investigation will change the number of remaining defects in the other artifacts. Therefore, a QA resource allocation approach is more effective if it prioritizes the artifacts that would lead to the smallest number of remaining defects. Investigating six medium-to-large releases of open source systems (Mylyn, Eclipse, and NetBeans, two releases each), we found that co-fixes happen quite often in software projects (30-42% of the fixes modify more than one artifact). Therefore, in this paper, we first introduce a new cost-effectiveness measure to evaluate QA resource allocation, based on the concept of “remaining defects” per file. We then propose several co-fix-aware prioritization approaches to dynamically optimize the new measure, based on the historical defect co-fixes. The evaluation of these approaches on the six releases shows that a) co-fix-aware QA prioritization approaches improve the traditional defect prediction-based ones, in terms of density of remaining defects per file and b) co-fixaware QA prioritization can potentially benefit from search-based software engineering techniques. c © 2013 Published by Elsevier Ltd.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A New Fairness Index and Novel Approach for QoS-Aware Resource Allocation in LTE Networks Based on Utility Functions

Resource allocation techniques have recently appeared as a widely recognized feature in LTE networks. Most of existing approaches in resource allocation focus on maximizing network’s utility functions. The great potential of utility function in improving resource allocation and enhancing fairness and mean opinion score (MOS) indexes has attracted large efforts over the last few years. In this p...

متن کامل

A Multi Objective Fibonacci Search Based Algorithm for Resource Allocation in PERT Networks

The problem we investigate deals with the optimal assignment of resources to the activities of a stochastic project network. We seek to minimize the expected cost of the project include sum of resource utilization costs and lateness costs. We assume that the work content required by the activities follows an exponential distribution. The decision variables of the model are the allocated resourc...

متن کامل

The Scarce Drugs Allocation Indicators in Iran: A Fuzzy Delphi Method Based Consensus

Objective: Almost all countries are affected by a variety of drug-supply problems and spend a considerable amount of time and resources to address shortages. The current study aims to reach a consensus on the scarce drug allocation measures to improve the allocation process of scarce drugs in Iran by a population needs-based approach. Methods: To achieve the objective, two phases were co...

متن کامل

Investigating the Effect of Selected Sustainable Development Indicators on Credit Allocation: the Case of National Development Fund of Iran

Credit allocation through the usage of Portfolio optimization mainly seeks tomaximize return and minimize the risk of the portfolio; but there are other importantissues including sustainable development which is important for government/publicsectors. This paper presents a novel credit allocation approach based on portfoliooptimization and investigates the effects of selected indicators of sust...

متن کامل

The Scarce Drugs Allocation Indicators in Iran: A Fuzzy Delphi Method Based Consensus

Objective: Almost all countries are affected by a variety of drug-supply problems and spend a considerable amount of time and resources to address shortages. The current study aims to reach a consensus on the scarce drug allocation measures to improve the allocation process of scarce drugs in Iran by a population needs-based approach. Methods: To achieve the objective, two phases were co...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Journal of Systems and Software

دوره 103  شماره 

صفحات  -

تاریخ انتشار 2015